package com.yzx.lifeassistants.model.callback;

import com.yzx.lifeassistants.bean.LectureInfo;

/**
 * @Description: 查询讲座信息回调
 * @author: yzx
 * @time: 2016-3-8 上午10:06:07
 */
public interface IQueryLectureInfoCB {
	/**
	 * @Description: 获取失败
	 */
	public static final int QUERY_FAILED = 0;
	/**
	 * @Description: 获取成功
	 */
	public static final int QUERY_SUCCESS = 1;
	/**
	 * @Description: 获取异常
	 */
	public static final int QUERY_ERROR = 2;

	/**
	 * 
	 * @Description: 获取成功回调
	 */
	void querySuccess(LectureInfo lectureInfo);

	/**
	 * 
	 * @Description: 获取失败回调
	 */
	void queryError(int code);
}
